set hive.exec.dynamic.partition=true;            --  动态分区
set hive.exec.dynamic.partition.mode=nonstrict;
set hive.exec.max.dynamic.partitions=90;         --  每天生成 60 个分区
set hive.exec.max.dynamic.partitions.pernode=90; --  每天生成 60 个分区
insert overwrite table jms_dwd.dwd_tab_bus_brand_customer_warning_dt partition(dt)
select
id
,customer_source_code
,customer_source_name
,warning_type_code
,warning_type_name
,warning_value
,is_delete
,create_by
,update_by
,create_by_name
,update_by_name
,create_time
,update_time
,dt
from jms_ods.tab_bus_brand_customer_warning
where dt = '{{ execution_date | cst_ds }}';
